package com.kandinfo.base.common.dto;

import java.lang.reflect.Method;

/**
 * entity中字段属性bean
 * 
 * @author 琪伟
 *
 */
public class EntityColumnBean {
	/**
	 * 字段名
	 */
	private String columnName;
	/**
	 * 数据库中字段名
	 */
	private String columnNameDB;
	/**
	 * get方法
	 */
	private Method getMethod;
	/**
	 * 字段类型
	 */
	private Class<? extends Object> clazz;
	/**
	 * 所属类entity
	 */
	private Class<? extends Object> parentClazz;

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnNameDB() {
		return columnNameDB;
	}

	public void setColumnNameDB(String columnNameDB) {
		this.columnNameDB = columnNameDB;
	}

	public Method getGetMethod() {
		return getMethod;
	}

	public void setGetMethod(Method getMethod) {
		this.getMethod = getMethod;
	}

	public Class<? extends Object> getClazz() {
		return clazz;
	}

	public void setClazz(Class<? extends Object> clazz) {
		this.clazz = clazz;
	}

	public Class<? extends Object> getParentClazz() {
		return parentClazz;
	}

	public void setParentClazz(Class<? extends Object> parentClazz) {
		this.parentClazz = parentClazz;
	}
	
}
